home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
dev
/
amos
/
ldosv25d.lha
/
ldos_demo
/
examples
/
ldos
/
mem-demo.AMOS
/
mem-demo.amosSourceCode
Wrap
AMOS Source Code
|
1992-05-27
|
456b
|
9 lines
' AMOS only returns the AVAILABLE mem, not the largest block.
' So if you try to allocate all free mem (for a diskcopy for example)
' you'll get an error since there are no block large enough.
'
' Llargest Free(CHIP|FAST) returns the value you can allocate.
' CHIP=0, FAST=1
Print " CHIP FAST"
Print "Total available: ";Chip Free;" ";Fast Free
Print "Largest block: "; Extension_10_02F4(0);" "; Extension_10_02F4(1)